-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add primary destructive button style #27774
Conversation
Thank you, nice PR! If you are able to apply both a destructive and primary prop to the Button component, then it definitely follows that the visuals should account for that. So if we are to allow this, the change here seems good to me. The code looks good too, but I'd appreciate a sanity check. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code looks good too, but I'd appreciate a sanity check.
What type of check is necessary? Code-wise it's good to go
That was the check! Ship it. |
Thank you for contributing 😃 |
It looks like it was published to npm in You can use the UNPKG browser and see that it's missing in |
Description
Fix #27587
Add primary destructive button style
How has this been tested?
npm run storybook: dev
Screenshots
Types of changes
Checklist: